﻿using System;
using System.Runtime.Serialization;
using Interfaces.Models;

namespace ServiceInfrastructure.Models.NewsModels.Models
{
    [DataContract(Namespace = ServiceConstants.ServiceConstants.NewsDatacontractnamespace)]
    public class Category : ICategory
    {
        public bool Equals(ICategory other)
        {
            throw new NotImplementedException();
        }

        [DataMember(Order = 1)]
        public Guid? Id { get; set; }

        [DataMember(Order = 2)]
        public string Name { get; set; }

        [DataMember(Order = 3)]
        public string Lable { get; set; }

        [DataMember(Order = 4)]
        public string Scheme { get; set; }
    }
}
